﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

class ExtractIntegers
{
    public static string[] ExtractIntegersFromText(string text)
    {
        string pattern = @"\D+";
        return Regex.Split(text, pattern);
    }

    static void Main(string[] args)
    {
        string text = "123asdd adwld kdokawo 1k23 123k ok23o12 k23 213 3446 wewopdkw123123pwldpad!";
        string[] integers = ExtractIntegersFromText(text);
        foreach (string integer in integers)
        {
            Console.WriteLine(integer);
        }
    }
}

